Dynamedia DynaCD ActiveX DocHelp V1.30
General Information
Overview
Properties
Methods
Events
Web Site
Contact Us
DynaCD METHODS

IMPORTANT NOTE:
All method return an integer : 0= unsucessfull function / 1= sucess
(example: If DynaCD_Init(10)=0 then Msgbox "Return Error")


DynaCD_Init(Timer As Integer):
Initialise the DynaCD ActiveX. You must specifie the timer in milliseconds which indicate the number of refresh per second.

DynaCD_Close():
Initialise Off the DynaCD. Don't forget to call this method when you stop using this activex.

DynaCD_SendString(CommandString As String):
With this methods you can send a mci command string directly to the activex, using cdaudio as the device name.
Example: DynaCD_SendString("set cdaudio audio all on")
Note: you can't change the Time Format

DynaCD_OpenDoor():
To open the CD-Rom door.

DynaCD_CloseDoor():
To close the CD-Rom door.

DynaCD_PlayTrack():
Start playing cd.

DynaCD_StopTrack():
To stop playing cd.

DynaCD_PauseTrack():
Pause the playing.

DynaCD_NextTrack():
Jump to next track. If the activex is already playing it jump to next track and play it automatically.
If you call DynaCD_NextTrack when you are to the last track, the function return 0.

DynaCD_PrevTrack():
Jump to previous track. If the activex is already playing it jump to previous track and play it automatically.
If you call DynaCD_PrevTrack when you are to the first track, the function return 0.

DynaCD_GotoTrack(Track As Integer):
Jump to specified track. If the activex is already playing it jump to specified track and play it automatically.
Track must be inferior or equal to the total of tracks, if not then function return 0.